
<template>
  <div id="app">
    <router-view></router-view>
  </div>
</template>
<script>
// import  {mapState,mapMutations } from 'vuex';
export default {
  // computed:mapState(['fm_other','fm','select_apply_man','select_design_man']),
  // methods:mapMutations(['set_var']),
  // created(){
    
  //   let fm      =localStorage.getItem('fm'),
  //       fm_other=localStorage.getItem('fm_other'),
  //       select_design_man =localStorage.getItem('select_design_man'),
  //       select_apply_man  =localStorage.getItem('select_apply_man')

  //   if(fm) this.set_var({var_name:'fm',set_type:'obj',data:JSON.parse(fm)})
      
  //   if(fm_other)  this.set_var({var_name:'fm_other',set_type:'obj',data:JSON.parse(fm_other)})
     
  //   if(select_apply_man) 
  //       this.set_var({var_name:'select_apply_man',data:JSON.parse(select_apply_man)})
  //   if(select_design_man) 
  //       this.set_var({var_name:'select_design_man',data:JSON.parse(select_design_man)})

  //   window.addEventListener("beforeunload",()=>{
  //       localStorage.setItem("fm",JSON.stringify(this.fm))
  //       localStorage.setItem("fm_other",JSON.stringify(this.fm_other))
  //       this.select_apply_man.length&&localStorage.setItem("select_apply_man",JSON.stringify(this.select_apply_man))
  //       this.select_design_man.length&&localStorage.setItem("select_design_man",JSON.stringify(this.select_design_man))

  //   })

  // },
 
}
</script>



